package com.share.design.factory.abs;

/**
 * author:caifan
 * date:2020/2/4
 */
public class AppleFactory extends AbstractFactory {
    @Override
    Juice createJuice() {
        System.out.println("create AppleJuice");
        return new AppleJuice();
    }

    @Override
    Pie createPie() {
        System.out.println("create ApplePie");
        return new ApplePie();
    }
}
